import { studentRoute } from './student';


export const constantRoutecopy = [
  //配置路由页面
  {
    path: '/login',
    component: () => import('@/views/login/index.vue'),
    name: 'login',//路由名称
    meta: {
      title: '登陆',
      hidden: true //路由标题是否隐藏
    }
  },
  {
    path: '/404',
    component: () => import('@/views/404/index.vue'),
    name: '404',//路由名称
    meta: {
      title: '404',
      hidden: true //路由标题是否隐藏
    }
  },
  {
    path: '/register',
    component: () => import('@/views/login/Register.vue'),
    name: 'register',
    meta: {
      title: '注册',
      hidden: true
    }
  },
  {
    path: '/forget',
    component: () => import('@/views/login/Forget.vue'),
    name: 'forget',
    meta: {
      title: '忘记密码',
      hidden: true
    }
  },
  {
    name: 'layout',
    component: () => import('@/layout/index.vue'),
    meta: {
      // title: 'layout',
      hidden: false
    },
    redirect: '/home',
    children: [
      {
        path: '/home',
        component: () => import('@/views/home/index.vue'),
        name: 'home',
        meta: {
          title: '首页',
          hidden: false,
          icon: 'HomeFilled'
        }
      }
    ]
  },
  studentRoute,



];